package com.smarthospital.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

/**
 * create by sym  2021/6/6 16:44.
 */
@Data
@Builder
@ApiModel
public class LoginResultDTO {
    @ApiModelProperty("角色 0_普通用户 1_医生")
    private int role;
    @ApiModelProperty("token")
    private String token;
    @ApiModelProperty("医生唯一key  当role=1时有值")
    private String doctorKey;
}
